package org.jeecg.modules.jxc.inventorymanagement.commodityloss.service;


import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;
import org.jeecg.modules.jxc.inventorymanagement.commodityloss.entity.JxcDamageList;
import org.springframework.http.ResponseEntity;

import java.util.List;
import java.util.Map;

/**
 * @Description: jxc_damage_list
 * @Author: jeecg-boot
 * @Date:   2021-12-21
 * @Version: V1.0
 */
public interface IJxcDamageListService extends IService<JxcDamageList> {
    /**
    * @author: Mr.Sun
    * @description:
    * @param sTime
* @param eTime
* @param type
    * @return java.util.Map<java.lang.String,java.lang.Object>
    * @exception
    */
//    Map<String,Object> findDamageOrOverflowList(String sTime, String eTime, Integer type);
    List<Map<String,Object>> findDamageOrOverflowList(String sTime, String eTime, Integer type);
    /**
    * @author: Mr.Sun
    * @description: 报损报溢查询
    * @param id
    * @param type
    * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
    * @exception
    */
    List<Map<String, Object>> findDamageOrOverflowGoodsList(Integer id, Integer type);
}
